package com.nextplus.housetolet.repository;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.nextplus.housetolet.domain.Rental;
import com.nextplus.housetolet.domain.User;

public interface RentalRepository extends PagingAndSortingRepository<Rental, Long> {

	List<Rental> findByUser(User user);
	
}
